﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.Infrastructure
{
    public interface IBaseRepository<T> where T : class
    {
        Task<int> AddAsync(T entity);
        Task<int> Update(T entity);

        IQueryable<T> GetAllAsync();
    }
}
